home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / util / libs / cwrlib31.lha / CWTerm / CWTermwin.c < prev   
C/C++ Source or Header  |  1992-07-22  |  4KB  |  99 lines

  1. #include <intuition/intuition.h>
  2.  
  3. struct IntuiText IText1 = { 4,1,JAM1,0,1,NULL," Drop DTR",NULL};
  4. struct IntuiText IText2 = { 4,1,JAM1,19,1,NULL,"CTS/RTS",NULL};
  5. struct IntuiText IText3 = { 4,1,JAM1,19,1,NULL,"Half duplex",NULL};
  6. struct IntuiText IText4 = { 4,1,JAM1,19,1,NULL," 38400",NULL};
  7. struct IntuiText IText5 = { 4,1,JAM1,19,1,NULL," 19200",NULL};
  8. struct IntuiText IText6 = { 4,1,JAM1,19,1,NULL,"  9600",NULL};
  9. struct IntuiText IText7 = { 4,1,JAM1,19,1,NULL,"  4800",NULL};
  10. struct IntuiText IText8 = { 4,1,JAM1,19,1,NULL,"  2400",NULL};
  11. struct IntuiText IText9 = { 4,1,JAM1,19,1,NULL,"  1200",NULL};
  12. struct IntuiText IText10 = { 4,1,JAM1,19,1,NULL,"   300",NULL};
  13. struct IntuiText IText11 = { 4,1,JAM1,0,1,NULL," Baudrate",NULL};
  14. struct IntuiText IText12 = { 4,1,JAM1,0,1,NULL," Quit",NULL};
  15. struct IntuiText IText13 = { 4,1,JAM1,0,0,NULL,"------------",NULL};
  16. struct IntuiText IText14 = { 4,1,JAM1,19,1,NULL,"4",NULL};
  17. struct IntuiText IText15 = { 4,1,JAM1,19,1,NULL,"3",NULL};
  18. struct IntuiText IText16 = { 4,1,JAM1,19,1,NULL,"2",NULL};
  19. struct IntuiText IText17 = { 4,1,JAM1,19,1,NULL,"1",NULL};
  20. struct IntuiText IText18 = { 4,1,JAM1,0,1,NULL," Bitplanes",NULL};
  21.  
  22. struct MenuItem SerialItem4 = {
  23.     NULL,0,30,112,10,ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,0,
  24.     (APTR)&IText1,NULL,'H',NULL,MENUNULL};
  25.  
  26. struct MenuItem SerialItem3 = {
  27.     &SerialItem4,0,20,112,10,CHECKIT+ITEMTEXT+MENUTOGGLE+ITEMENABLED+HIGHCOMP+CHECKED,
  28.     0,(APTR)&IText2,NULL,NULL,NULL,MENUNULL};
  29.  
  30. struct MenuItem SerialItem2 = {
  31.     &SerialItem3,0,10,112,10,CHECKIT+ITEMTEXT+MENUTOGGLE+ITEMENABLED+HIGHCOMP,
  32.     0,(APTR)&IText3,NULL,NULL,NULL,MENUNULL};
  33.  
  34. struct MenuItem BaudSubItem7 = {
  35.     NULL,97,52,67,10,CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP,63,
  36.     (APTR)&IText4,NULL,NULL,NULL,MENUNULL};
  37.  
  38. struct MenuItem BaudSubItem6 = {
  39.     &BaudSubItem7,97,42,67,10,CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP+CHECKED,95,
  40.     (APTR)&IText5,NULL,NULL,NULL,MENUNULL};
  41.  
  42. struct MenuItem BaudSubItem5 = {
  43.     &BaudSubItem6,97,32,67,10,CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP,111,
  44.     (APTR)&IText6,NULL,NULL,NULL,MENUNULL};
  45.  
  46. struct MenuItem BaudSubItem4 = {
  47.     &BaudSubItem5,97,22,67,10,CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP,119,
  48.     (APTR)&IText7,NULL,NULL,NULL,MENUNULL};
  49.  
  50. struct MenuItem BaudSubItem3 = {
  51.     &BaudSubItem4,97,12,67,10,CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP,123,
  52.     (APTR)&IText8,NULL,NULL,NULL,MENUNULL};
  53.  
  54. struct MenuItem BaudSubItem2 = {
  55.     &BaudSubItem3,97,2,67,10,CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP,125,
  56.     (APTR)&IText9,NULL,NULL,NULL,MENUNULL};
  57.  
  58. struct MenuItem BaudSubItem1 = {
  59.     &BaudSubItem2,97,-8,67,10,CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP,126,
  60.     (APTR)&IText10,NULL,NULL,NULL,MENUNULL};
  61.  
  62. struct MenuItem SerialItem1 = {
  63.     &SerialItem2,0,0,112,10,ITEMTEXT+ITEMENABLED+HIGHCOMP,0,
  64.     (APTR)&IText11,NULL,NULL,&BaudSubItem1,MENUNULL};
  65.  
  66. struct MenuItem ProjectItem3 = {
  67.     NULL,0,18,96,10,ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,0,
  68.     (APTR)&IText12,NULL,'Q',NULL,MENUNULL};
  69.  
  70. struct MenuItem ProjectItem2 = {
  71.     &ProjectItem3,0,10,96,8,ITEMTEXT+ITEMENABLED+HIGHCOMP+HIGHBOX,0,
  72.     (APTR)&IText13,NULL,NULL,NULL,MENUNULL};
  73.  
  74. struct MenuItem BitSubItem4 = {
  75.     NULL,81,22,67,10,CHECKIT+ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,7,
  76.     (APTR)&IText14,NULL,'4',NULL,MENUNULL};
  77.  
  78. struct MenuItem BitSubItem3 = {
  79.     &BitSubItem4,81,12,67,10,CHECKIT+ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP+CHECKED,
  80.     11,(APTR)&IText15,NULL,'3',NULL,MENUNULL};
  81.  
  82. struct MenuItem BitSubItem2 = {
  83.     &BitSubItem3,81,2,67,10,CHECKIT+ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,13,
  84.     (APTR)&IText16,NULL,'2',NULL,MENUNULL};
  85.  
  86. struct MenuItem BitSubItem1 = {
  87.     &BitSubItem2,81,-8,67,10,CHECKIT+ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,14,
  88.     (APTR)&IText17,NULL,'1',NULL,MENUNULL};
  89.  
  90. struct MenuItem ProjectItem1 = {
  91.     &ProjectItem2,0,0,96,10,ITEMTEXT+ITEMENABLED+HIGHCOMP,0,
  92.     (APTR)&IText18,NULL,NULL,&BitSubItem1,MENUNULL};
  93.  
  94. struct Menu Menu2 = {
  95.     NULL,70,0,55,0,MENUENABLED,"Serial",&SerialItem1};
  96.  
  97. struct Menu Menu1 = {
  98.     &Menu2,0,0,63,0,MENUENABLED,"Project",&ProjectItem1};
  99.